package com.boatAnchorAssistant.pojo.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import javax.persistence.Table;

/**
 * 【描 述】：
 * 【环 境】：J2SE 17
 * 【详 细】：
 *
 * @author 李松林
 * @version v1.0 2024/6/11 新建
 * @since 2024/6/11
 */
@Data
@Table
@AccEntity(value = "表单", type = EntityType.SERVICE_ENTITY)
@TableComment("表单")
public class ITable extends DomainBaseEntity<ITable> {

    /**
     * 表单名称
     */
    @Column(type = MySqlTypeConstant.VARCHAR,
            comment = "表单名称",
            isNull = false,
            defaultValue = "")
    private String formName;

    /**
     * 表单内容
     */
    @Column(type = MySqlTypeConstant.TEXT,
            comment = "表单内容")
    private String formContent;


}
